//
//  RTToastManager.h
//  RtMart
//
//  Created by 福利购Mac on 16/12/1.
//  Copyright © 2016年 JASON. All rights reserved.
//

#import <Foundation/Foundation.h>
//定义显示HUD的每个动作，当此东西不需要显示是值设为小于0
typedef enum
{
    HUDShowType_None = 0,
    HUDShowType_RegExistPhone ,
    HUDShowType_RegOrGetPassGetCode,
    HUDShowType_RegOrGetPassAction,
    HUDShowType_GetPassExitPhone,
    HUDShowType_LoginAction,
    HUDShowType_LogoutAction,
    HUDShowType_ChangePassAction,
    HUDShowType_GetEvaOptionAction,
    HUDShowType_EvaAction,
    HUDShowType_PickLocationAction,
    HUDShowType_SaveAddress,
    HUDShowType_DefaultAddress,
    HUDShowType_DeleteAddress
}HUDShowType;

@interface RTToastManager : NSObject

+ (RTToastManager *)ShardInstance;

// toast
- (void)showToast:(NSString *)toastStr;
- (void)showToast:(NSString *)toastStr wait:(float)wait;

// progress
- (void)hideProgress:(UIView*)view;
- (void)showProgress:(UIView*)view;
- (void)showHUD:(HUDShowType)type;

@end
